#ifndef API_1WIRE_H
#define API_1WIRE_H
Status lwire_write_byte(uint8_t byte);
Status lwire_read_byte(uint8_t *byte);
Status lwire_write_conf();
Status lwire_device_reset();
Status lwire_wire_reset();
void Iwire_CommonInit(void);
uint8_t lwire_take(uint8_t, uint64_t);
void lwire_give(void);

enum IWIRE_SELECTED_DEVICE_ID {
	IWIRE_NONE = 0,
	IBUTTON
};
#endif //API_1WIRE_H


